﻿using AjaxPro;
using System;
using System.Web.UI;
using WorkFlow.Engine.NSMessage;

namespace WorkFlow
{
    [AjaxNamespace("ns")]
    public partial class Index : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Utility.RegisterTypeForAjax(GetType(), Page);
        }

        [AjaxMethod]
        public string Test(string str)
        {
            var cases = new WfCase();
            cases.GetCasesByUser(int.Parse(str));
            return string.Empty;
        }
    }
}